@echo off
chcp 65001 >nul
echo ========================================
echo    ITS Development Mode Stop Script
echo ========================================
echo.
echo Stopping development environment...

cd /d "%~dp0"

echo [1/4] Stopping Nginx proxy...
docker-compose -f docker-compose.dev.yml stop nginx

echo [2/4] Stopping frontend service...
docker-compose -f docker-compose.dev.yml stop frontend

echo [3/4] Stopping backend service...
docker-compose -f docker-compose.dev.yml stop backend

echo [4/4] Stopping database service...
docker-compose -f docker-compose.dev.yml stop database

echo.
echo ========================================
echo    Development environment stopped
echo ========================================
echo.